
// 全局基础样式
@colorBase: #44b549;
@colorRed: #e4393c;
@baseFontSize: 14px;
@baseFontFamily: Verdana,Microsoft YaHei,Helvetica,STHeiti STXihei,Microsoft JhengHei,Arial;
// body
@bodyMaxWidth: 765px;
@stdWidth: 1050px;

::-webkit-scrollbar {
    padding-left: 1px;
    background-color: #eee;
    overflow: visible;
    width: 7px;
    height: 7px;
    margin-top:1px;
}

::-webkit-scrollbar-thumb {
    background-color: #ddd;
    background-clip: padding-box;
    border: 1px solid transparent;
    min-height: 15px;
}

::-webkit-scrollbar-thumb:vertical:hover {
    background-color: rgba(0,0,0,.3);
}

::-webkit-scrollbar-thumb:vertical:active {
    background-color: rgba(0,0,0,.5);
}

::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}

::-webkit-scrollbar-track {
    background-clip: padding-box;
    border: 1px solid #fff;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

html {
    padding:0;margin:0;
}
body {
    margin: 0 auto;
    padding:0;
    color: #555;
    font-size: @baseFontSize;
    font-family: @baseFontFamily; 
    font-weight: 400;
    background: url('../images/backgrounds/body_repeat.jpg') repeat;
}
a{
    display: inline-block;
    font-size: 12px;
    color:#555;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    &:hover{
        color:#222 !important;
    }
    &.delete{
        &:hover{
            color:red !important;
        }
    }
}
img{
    outline: none;
    border: none;
}
input{
    color: #222;
    text-align: left;
    font-size: 10pt;
    outline: none;
    font-family:@baseFontFamily;
}
input[type=text]{
    border: 1px solid #bbb;
    border-radius: 3px;
    width: 100%;
    display: block;
}
p{
    margin:0;
    padding:0;
}
select {
    background: #fff;
    cursor: pointer;
    padding: 3px 0;
    outline: none;
    width: 100%;
    display: block;
    color: #555;
    font-size: @baseFontSize;
    font-family: @baseFontFamily;
    border: 1px solid #d4d4d4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 31px;
    line-height: 31px;
}
.gs-label {
    display: block;
    padding-bottom: 10px;
    color: #555;
}
.gs-label b {
    color: #888;
    font-size: 12px;
    font-weight: normal;
}
// 基础class
.marginAuto{
    margin:0 auto;
}
.block{
    display:block;
}
.fontS(@size: 12px){
    font-size: @size;
}
.backG(@color: #fff){
    background:@color;
}
.float(@direction: left){
    float: @direction;
}
.textAlign(@dir: center){
    text-align: @dir;
}
.boxShadow(@opacity: 0.06,@x: 0,@y: 1px,@len: 4px){
    box-shadow: @x @y @len rgba(0,0,0,@opacity); 
}
.borderRadius (@radius: 5px) {
    border-radius: @radius;
    -webkit-border-radius: @radius;
    -moz-border-radius: @radius;
}
.border(@size:1px,@color:#dedede){
    border:@size solid @color;
}
.transDuration(@sec: 100ms){
    transition-duration: @sec;
    -moz-transition-duration: @sec;
    -webkit-transition-duration: @sec;
}
.Elipsis{
    white-space: nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.prices{
    font-size:12px;
    font-family: Verdana;
    color: rgb(255,85,0);
    font-weight:normal;
}
.zIndex(@index:999){
    z-index:@index;
}
.clearfix { 
    display: block; 
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
}
.search-w-box{
    position: relative;
    background: transparent;
    padding: 11px 0;
}
.search-w-input{
    outline: 0;
    border: 1px solid #ddd;
    font-size: 14px !important;
    background: url() 8px no-repeat #fff;
    background-size:15px 15px;
    display: block;
    width:100%;
    box-sizing: border-box;
    vertical-align: baseline;
    padding:5px 0;
    padding-left: 25px;
    border-radius: 30px;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-appearance: none;
}

.footer{
    margin: 5px 0;
}
.copyright{
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
    color:#ccc;
    text-align: center;
}
.hidden{
    display:none;
}

.gs-text {
    background: #fff;
    border: 1px solid #dedede;
    border-left: 1px solid #44b549;
    padding: 0;
    margin-bottom: 8px;
    .boxShadow(0.05, 1px, 1px, 2px);
    overflow: hidden;
}

.gs-text input {
    float: left;
    width: 100%;
    display: block;
    border: none;
    outline: none;
    height: 25px;
    font-size: 14px;
    color: #666;
    margin: 0 auto;
    background: #fff;
    border-radius: 0;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    font-family: @baseFontFamily;
}
#__alert__ {
    top: 0;
    color: #fff;
    position: fixed;
    padding: 0 40px;
    background: #44b549;
    line-height: 29px;
    height: 30px;
    z-index: 9999;
}

#__alert__.warn {
    background: #f37d2a;
}

.wd-btn {
    transition-duration: .2s;
    display: inline-block;
    min-width: 80px;
    height: 26px;
    line-height: 26px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    margin:5px auto;
    .boxShadow();
    .borderRadius(15px);
    &:hover{
        color:#fff !important;
        padding:0 3px;
    }
}

.wd-btn.primary {
    background-color: #44b549;
    color: #fff;
}

.wd-btn.disable {
    background-color: #f24d4d;
    border-color: #f24d4d;
    color: #fff;
}

.wd-btn.delete {
    background-color: #f24d4d;
    border-color: #f24d4d;
    color: #fff;
}

.wd-btn.delete:hover {
    background-color: #e14747;
}

.wd-btn.primary:hover {
    background-color: #3f9e43;
}

.wd-btn.default {
    background-color: #fff;
    border-color: #e6e7ec;
    color: #222;
}

.wd-btn.default:hover {
    background-color: #eee;
}

.wd-btn.small {
    height: 20px;
    line-height: 20px;
    font-size: 13px;
}
textarea {
    resize: none;
    outline: none;
}
textarea.mpdcont {
    display: block;
    width: 94%;
    min-height:7.5em;
    padding: 5px;
    border: 1px solid #dedede;
    border-left: 1px solid #44b549;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #666;
    margin:5px auto;
    font-size: @baseFontSize;
    font-family: @baseFontFamily; 
}
textarea.mpdcont:focus {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tArea{
    display: block;
    padding: 5px;
    border: 1px solid #dedede;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    .borderRadius();
    margin:10px auto;
    textarea{
        display: block;
        width: 99%;
        min-height:2.5em;
        color: #666;
        font-size: @baseFontSize;
        font-family: @baseFontFamily; 
        border:1px solid transparent;
        margin:0 auto;
    }
    &:hover{
        .boxShadow(0.08, 0px ,0px ,10px);
    }
}
.Thead{
    position:relative;
    .more{
        height:40px;
        width:40px;
        display:block;
        position:absolute;
        top:-10px;
        right:-10px;
        background: url(../images/icon/iconfont-you.png) center no-repeat;
        background-size: 20px;
        opacity:0.8;
    }
    span{
        display: inline-block;
        padding: 7px 10px;
        font-size:14px;
        color:#666;
        cursor: default;
        transition-duration: .2s;
        &:before{
            display:inline-block;
            background-color: @colorBase;
            height: 10px;
            width:10px;
            content: ' ';
            margin-right: 6px;
        }
        &:hover{
            transform:translateX(5px);
        }
    }
}
ul{
    margin:0;
    padding:0 10px;
    overflow:auto;
    li{
        transition-duration: .2s;
        cursor: default;
        color:#555;
        list-style-type: none;
        line-height:22px;
        margin-bottom:5px;
        span{
            font-size: 12px;
            color:#08c;
        }
        &:before{
            display:inline-block;
            background-color: #d6e685;
            height: 10px;
            width:10px;
            content: ' ';
            margin-right: 5px;
            border-radius: 5px;
        }
        &:first-child{
            margin-top: 5px;
        }
        &:hover{
            color:#333;
        }
    }
}

.fixedBtn{
    font-size: 14px;
    transition-duration: .3s;
    color:#555;
    display: block;
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    height: 40px;
    line-height: 37px;
    border-top: 1px solid #dedede;
    background: #f8f8f8;
    z-index:999;
    .textAlign();
    &:hover{
        color:#4183c4;
        background: #fefefe;
    }
}

.logo{
    float:left;margin-top:13px;margin-right: 10px;
}

a.ghBtn{
    transition-duration: .2s;
    color:#666;
    font-size:14px;
    display:block;
    height:30px;
    line-height:30px;
    text-align:center;
    border:1px solid #eee;
    background:-webkit-linear-gradient(top, #f7f7f7, #f1f1f1);
    background:-moz-linear-gradient(top, #f7f7f7, #f1f1f1);
    outline:none;
    .borderRadius(2px);
    &:hover{
        color:#555;
        border-color:#dedede;
        .boxShadow(0.08, 0px ,0px ,10px);
    }
}

#topbar{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:50px;
    z-index:8000;
    .in{
        height:50px;
        width: @stdWidth;
        margin: 0 auto;
        .search-w-box{
            width: 220px;float:left;
        }
        #tnav{
            .float(right);
        }
    }
    box-shadow: 1px 1px 3px #CFCFCF;
    background: rgba(247, 247, 247, 0.8);
}

.navbtn{
    height:50px;
    line-height: 50px;
    font-weight: lighter;
    color:#555;
    transition-duration: .2s;
    padding:0 5px;
    display: inline-block;
    font-size:14px;
    float:right;
    &:hover{
        .backG(#dedede);
    }
}

.tHead{
    height:45px;
    float:right;
    padding:0 5px;
    padding-top:5px;
    .block();
    img{
        display: block;
        .borderRadius(20px);
        height: 40px;
        width: 40px;
    }
    &:hover{
        .backG(#dedede);
    }
}

#consultProfile{
    img {
        height:180px;
        width:180px;
        .borderRadius(500px);
        .block();
    }
    p{
        text-align: center;
        line-height: 25px;
        color:#777;
    }
}

.AjaxAlbum{
    position:relative;
    img{
        display: block;
    }
    p{
        position:absolute;
        bottom:0;
        left:0;
        right:0;
        padding:5px;
        margin:0;
        color:#fff;
        background: rgba(120,120,120,0.7);
    }
}

.btnSqu{
    display: block;
    margin:5px auto;
    height: 29px;
    line-height: 28px;
    background-color: #44b549;
    color: #fff;
    .fontS(14px);
    .borderRadius(2px);
    .textAlign();
    &:hover{
        color: #fff !important;
        opacity: .9;
    }
    &.delete{
        background-color: #f24d4d;
        &:hover{
            color: #fff !important;
            opacity: .9;
        }
    }
}